/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package bean;

import business.UserBusiness;
import java.util.List;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;
import model.Feedback;

/**
 *
 * @author Administrator
 */
@ManagedBean
@RequestScoped
public class MngFeedbackBean {
    private UserBusiness userBusiness = new UserBusiness();
    private List<Feedback> listFeedback;

    public List<Feedback> getListFeedback() {
        return listFeedback;
    }

    public void setListFeedback(List<Feedback> listFeedback) {
        this.listFeedback = listFeedback;
    }

    /** Creates a new instance of MngFeedbackBean */
    public MngFeedbackBean() {
        listFeedback = userBusiness.listAllFeedback();
    }

}
